home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 June: Reference Library / Dev.CD Jun 99 RL Disk 1.toast / Technical Documentation / Develop / Additional Articles / Developing Symbiotic Apps / Symbiotic Samples / Symbiotic client source / Trident.cw10_pp / CTridentWindow.h < prev    next >
Encoding:
Text File  |  1996-10-09  |  1.4 KB  |  47 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    CTridentWindow.h                        ©1993 Metrowerks Inc. All rights reserved.
  3. // ===========================================================================
  4.  
  5. #pragma once
  6.  
  7. #include <LWindow.h>
  8. #include "CTridentIdler.h"
  9. #include "CTridentWindow.h"
  10. #include "CTridentView.h"
  11.  
  12. class CTridentView;
  13.  
  14. //==============================window stuff====================================
  15.  
  16. class    CTridentWindow : public LWindow {
  17.  
  18. public:
  19.     static CTridentWindow*    CreateTridentWindowStream(LStream *inStream);
  20.                             CTridentWindow();
  21.                             CTridentWindow(LStream *inStream);
  22.                             ~CTridentWindow();
  23.                 void        SetPortRefNum(short thePortRefNum);
  24.                 void        SetAddress(TargetID& theTarget) ;
  25. //                Boolean        DoSomethingWillYa(CommandT    inCommand, void *ioParam);
  26.                 void         Connect(); 
  27.                 void        FindCommandStatus(CommandT inCommand,
  28.                             Boolean     &outEnabled,
  29.                             Boolean     &outUsesMark,
  30.                             Char16         &outMark,
  31.                             Str255         outName);
  32.         virtual Boolean        ObeyCommand(CommandT inCommand, void *ioParam = nil);
  33.                 void         SendNull(); 
  34.                 void         SendQuit(); 
  35.                 void         SendVersion(); 
  36.                 void         SendInterval(long seconds); 
  37.                 void         SendHeart(); 
  38.                 Boolean     IsConnected(); 
  39.             virtual void    HandleAppleEvent( const AppleEvent    &inAppleEvent,
  40.                             AppleEvent    &outAEReply,
  41.                             AEDesc    &outResult,
  42.                             long    inAENumber)    ;
  43.     CTridentView*             myView;                        
  44.     AEAddressDesc            fAEAddressDesc;
  45.     short                    fPortRefNum;
  46. };
  47.